package sisi.bank;

import java.io.Serializable;
import javax.persistence.*;


/**
 * Bank.java - The persistent class for the <i>bank database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 02/10/2013
 * 
 */
@Entity
public class Bank implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="BANK_ID_GENERATOR", sequenceName="BANKSEQ",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="BANK_ID_GENERATOR")
	private Integer id;

	private String address;

	private String bank;

	private String cap;

	private String cceuro;

	private String ccusd;

	private String city;

	private String ibaneur;

	private String ibanusd;

	private String swft;

	/**
	 * Bank.java - The persistent class for the <i>bank database table</i>. 
	 * @author Pedro Gonzalez pedro@sisisoftware.it
	 * @author Claudio Pelosi claudio@sisisoftware.it
	 * @author SISI Software S.n.c. - www.sisisoftware.it
	 * @version 1.0, 02/10/2013
	 * 
	 */
	public Bank() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBank() {
		return this.bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getCap() {
		return this.cap;
	}

	public void setCap(String cap) {
		this.cap = cap;
	}

	public String getCceuro() {
		return this.cceuro;
	}

	public void setCceuro(String cceuro) {
		this.cceuro = cceuro;
	}

	public String getCcusd() {
		return this.ccusd;
	}

	public void setCcusd(String ccusd) {
		this.ccusd = ccusd;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getIbaneur() {
		return this.ibaneur;
	}

	public void setIbaneur(String ibaneur) {
		this.ibaneur = ibaneur;
	}

	public String getIbanusd() {
		return this.ibanusd;
	}

	public void setIbanusd(String ibanusd) {
		this.ibanusd = ibanusd;
	}

	public String getSwft() {
		return this.swft;
	}

	public void setSwft(String swft) {
		this.swft = swft;
	}

}